package com.qding.park.adapter.ark.adapter.impl;

import java.util.Date;
import java.util.List;

import org.springframework.stereotype.Service;

import com.qding.park.common.core.exceptions.ExceptionMessage;
import com.qding.park.common.core.exceptions.business.adapter.AdapterException;
import com.qding.park.common.core.exceptions.system.NetWorkException;
import com.qding.park.manager.pojo.ap.ApSyncPageInfo;
import com.qding.park.manager.pojo.ap.ApUserCarInfo;
import com.qding.park.target.common.adapter.CarAdapter;
import com.qding.park.target.common.entity.AdCarInfo;


@Service("carAdapter_13")
public class CarAdapterImpl implements CarAdapter {

    @Override
    public AdCarInfo getMonthCardInfo(String parkId, String carNum) throws AdapterException, NetWorkException {
//        AdCarInfo ark=new AdCarInfo();
//        ark.setCharge(false);
//        ark.setCardDescript("sss");
//        ark.setCarNum("粤B123456");
//        ark.setExpireDate(new Date());
//        ark.setMonthFee(100000);
//        ark.setMsg("方舟目前不技持月租缴费");
//        return ark;
        
        ExceptionMessage exceptionMessage = ExceptionMessage.createExceptionMessage(
                AdapterException.TypeEnum.EXCEPTION_ADAPTER_FAIL.getDesc(), "方舟月租卡信息查询暂时不支持",
                "方舟月租卡信息查询暂时不支持");
        throw new AdapterException(AdapterException.TypeEnum.EXCEPTION_ADAPTER_FAIL.getId(), null, exceptionMessage);
    }
    
}
